<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

class MY_Controller extends Controller {
	var $viewtype = '';
	
	function MY_Controller() {
		parent::Controller();
		if (strpos($_SERVER['HTTP_USER_AGENT'],"iPhone")) {
			$this->viewtype = "iphone/";
		}
	}
}